﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace B.S.Production.Domain.Entities
{
    /// <summary>
    /// 订单完成通知表
    /// </summary>
    public class OrderNotification
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        /// <summary>
        /// 订单完成通知主键
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 订单id(关联订单表id)
        /// </summary>
        public int CoId {  get; set; }
        /// <summary>
        /// 通知发送时间
        /// </summary>
        public DateTime NotificationTime { get; set; }
        /// <summary>
        /// 通知状态（已发送，发送失败）
        /// </summary>
        public string NotificationStatus { get; set; }
        /// <summary>
        /// 通知内容，（如订单完成的消息）
        /// </summary>
        public string NotificationContent { get; set; }
        /// <summary>
        /// 通知方式（如邮件，短信）
        /// </summary>
        public string NotificationMethod { get; set; }
        /// <summary>
        /// 生产订单主键id
        /// </summary>
        public int ProdunctionId { get; set; }
    }
}
